dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689bb6b
)
Check all MSIE requests since we also want to protect IE 3-5 etc.
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 12 Apr 2011 01:26:17 +0000
(
01:26
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 12 Apr 2011 01:26:17 +0000
(
01:26
+0000)
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
67a9bc2
..
d5ec821
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-788,10
+788,10
@@
class WebRequest {
&& preg_match( '/\.[a-z]{1,4}$/i', $_SERVER['QUERY_STRING'] ) )
{
// Bug 28235
- // Block only Internet Explorer
6
, and requests with missing UA
+ // Block only Internet Explorer, and requests with missing UA
// headers that could be IE users behind a privacy proxy.
if ( !isset( $_SERVER['HTTP_USER_AGENT'] )
- || preg_match( '/; *MSIE
6
/', $_SERVER['HTTP_USER_AGENT'] ) )
+ || preg_match( '/; *MSIE/', $_SERVER['HTTP_USER_AGENT'] ) )
{
return true;
}